package main
import "fmt"
func main(){
	var num [5]int = [5]int{ 1, 3, 5, 2, 4 }
	var qiepian []int
	fmt.Println("数组 = ", num)
	fmt.Println("切片 = ", qiepian)
	
	fmt.Println("=================================")
	
	qiepian = num[1:3:5]
	fmt.Println("数组 = ", num)
	fmt.Println("切片 = ", qiepian)
	
	fmt.Println("=================================")
	
	qiepian[0] = 50
	fmt.Println("数组 = ", num)
	fmt.Println("切片 = ", qiepian)
}
